package com.ts.notice.listenner;

import com.rabbitmq.client.Channel;
import com.ts.common.core.dto.UserDto;
import com.ts.notice.dto.SMSDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
/**
 * 给两天内未登录的用户发送短信
 */
import java.time.LocalDateTime;
@Slf4j
@Configuration
public class ListenNoLoginUser {
    @RabbitListener(queues = "dle-queue")
    public void dlequeueListenner(SMSDto smsDto, Channel channel, Message message) {

    }
}
